INCLUDE_DIRECTORIES( ${OPENSYNC_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIR} )


########### next target ###############

SET(qopensync_LIB_SRCS
   callbackhandler.cpp
   engine.cpp
   groupenv.cpp
   filter.cpp
   group.cpp
   member.cpp
   objectformatsink.cpp
   plugin.cpp
   pluginadvancedoption.cpp
   pluginauthentication.cpp
   pluginconfig.cpp
   pluginconnection.cpp
   pluginenv.cpp
   pluginlocalization.cpp
   pluginresource.cpp
   result.cpp
   syncchange.cpp
   syncmapping.cpp
   syncupdates.cpp
)


KDE4_ADD_LIBRARY(qopensync SHARED ${qopensync_LIB_SRCS})

TARGET_LINK_LIBRARIES(qopensync  ${QT_QTCORE_LIBRARY} ${QT_QTXML_LIBRARY} ${OPENSYNC_LDFLAGS})

SET_TARGET_PROPERTIES(qopensync PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
INSTALL(TARGETS qopensync ${INSTALL_TARGETS_DEFAULT_ARGS})

########### install files ###############
